﻿using System;
namespace VegetableSale.NET.Entities;

public class Customer
{

    private uint custid;
    private string custlogin;
    private string custpass;
    private string custname;
    private string phone;
    private string custsex;

    public Customer(uint custid, string custlogin, string custpass, string custname, string phone, string custsex)
    {
        this.custid = custid;
        this.custlogin = custlogin;
        this.custpass = custpass;
        this.custname = custname;
        this.phone = phone;
        this.custsex = custsex;
    }

    public uint Custid
    {
        get => custid;
        set => custid = value;
    }

    public string Custlogin
    {
        get => custlogin;
        set => custlogin = value;
    }

    public string Custpass
    {
        get => custpass;
        set => custpass = value;
    }

    public string Custname
    {
        get => custname;
        set => custname = value;
    }

    public string Phone
    {
        get => phone;
        set => phone = value;
    }

    public string Custsex
    {
        get => custsex;
        set => custsex = value;
    }
}

